﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace KTX
{
    public partial class FrmCha : Form
    {
        public FrmCha()
        {
            InitializeComponent();
        }

        private void tmr_Tick(object sender, EventArgs e)
        {
            tssDongHo.Text = DateTime.Now.ToString("dd/MM/yyyy hh:mm:ss");
        }

        private void tssPhong_Click(object sender, EventArgs e)
        {
            var x = new Vinh.frmRoomStatus();
            x.MdiParent = this;
            x.Show();
        }

        private void tssSoDien_Click(object sender, EventArgs e)
        {
            var x = new Thoai.sodien();
            x.MdiParent = this;
            x.Show();
        }

        private void tssNguoiDung_Click(object sender, EventArgs e)
        {
            var x = new AN.FrmUser();
            x.MdiParent = this;
            x.Show();
        }

        private void tssCauHinh_Click(object sender, EventArgs e)
        {
            var x = new FrmConfig();
            //x.MdiParent = this;
            x.ShowDialog();
        }
    }
}
